package com.quanyan.user.model.db;

import java.io.Serializable;
import java.util.Date;

public class TbUser implements Serializable {
    //会员id
    private Integer id;

    //昵称
    private String nickName;

    //真实姓名
    private String name;

    //手机号
    private String mobile;

    //是否验证手机号,0->未验证,1-验证
    private Byte isVerifyMobile;

    //账号
    private String account;

    //是否启用
    private Byte isEnable;

    //密码
    private String password;

    //出生年
    private Short year;

    //生日
    private Date birthday;

    //性别(1->男, 2－>女，0->未知)
    private Byte gender;

    //用户所在省份
    private Integer provinceId;

    //用户常驻地
    private Integer homeStationId;

    //{区域对象，所在的城市}
    private Integer areaId;

    //渠道ID
    private Integer regChannel;

    //注册时间
    private Date regTime;

    //登录时间
    private Date loginTime;

    //用户头像
    private String icon;

    //是否有图片
    private Boolean isPhoto;

    //照片数量
    private Integer photoNum;

    //用户签名
    private String sign;

    //用户状态（0、游客；1、普通用户）
    private Byte type;

    //用户来源渠道（0、微信注册；1、app注册）
    private Byte sourceChannel;

    //优先级，0最高，数字 越大优先级越高
    private Short priority;

    //0: 未关注 1:已关注 2:取消关注
    private Short subcribe;

    //0:不是达人 1:是达人
    private Short isMaster;

    //创建时间
    private Date createTime;

    //更新时间
    private Date updateTime;

    //账号类型0:手机注册1:QQ2:微信3:微博
    private Byte regType;

    //QQ的icon尺寸
    private String qqIconSize;

    //QQ的icon URL
    private String qqIconUrl;

    //QQ的openid
    private String qqOpenid;

    //QQ昵称
    private String qqNickname;

    //微博icon的尺寸
    private String weiboIconSize;

    //微博icon头像
    private String weiboIconUrl;

    //微博openid
    private String weiboOpenid;

    //微博昵称
    private String weiboNickname;

    //微信app头像尺寸
    private String weixinAppIconSize;

    //微信app头像URL
    private String weixinAppIconUrl;

    //微信app的openid
    private String weixinAppOpenid;

    //微信的unionid
    private String weixinUnionid;

    //微信的昵称
    private String weixinNickname;

    //ios APNS推送token
    private String deviceToken;

    //个推ID
    private String getuiId;

    //用户设置
    private String userSetting;

    //设备号
    private String dsn;

    //假ID,由一系列规则生成
    private String larkCode;

    //注册来源渠道编号
    private String appChannel;

    static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Byte getIsVerifyMobile() {
        return isVerifyMobile;
    }

    public void setIsVerifyMobile(Byte isVerifyMobile) {
        this.isVerifyMobile = isVerifyMobile;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public Byte getIsEnable() {
        return isEnable;
    }

    public void setIsEnable(Byte isEnable) {
        this.isEnable = isEnable;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Short getYear() {
        return year;
    }

    public void setYear(Short year) {
        this.year = year;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Byte getGender() {
        return gender;
    }

    public void setGender(Byte gender) {
        this.gender = gender;
    }

    public Integer getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    public Integer getHomeStationId() {
        return homeStationId;
    }

    public void setHomeStationId(Integer homeStationId) {
        this.homeStationId = homeStationId;
    }

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public Integer getRegChannel() {
        return regChannel;
    }

    public void setRegChannel(Integer regChannel) {
        this.regChannel = regChannel;
    }

    public Date getRegTime() {
        return regTime;
    }

    public void setRegTime(Date regTime) {
        this.regTime = regTime;
    }

    public Date getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Boolean getIsPhoto() {
        return isPhoto;
    }

    public void setIsPhoto(Boolean isPhoto) {
        this.isPhoto = isPhoto;
    }

    public Integer getPhotoNum() {
        return photoNum;
    }

    public void setPhotoNum(Integer photoNum) {
        this.photoNum = photoNum;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }

    public Byte getSourceChannel() {
        return sourceChannel;
    }

    public void setSourceChannel(Byte sourceChannel) {
        this.sourceChannel = sourceChannel;
    }

    public Short getPriority() {
        return priority;
    }

    public void setPriority(Short priority) {
        this.priority = priority;
    }

    public Short getSubcribe() {
        return subcribe;
    }

    public void setSubcribe(Short subcribe) {
        this.subcribe = subcribe;
    }

    public Short getIsMaster() {
        return isMaster;
    }

    public void setIsMaster(Short isMaster) {
        this.isMaster = isMaster;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Byte getRegType() {
        return regType;
    }

    public void setRegType(Byte regType) {
        this.regType = regType;
    }

    public String getQqIconSize() {
        return qqIconSize;
    }

    public void setQqIconSize(String qqIconSize) {
        this.qqIconSize = qqIconSize;
    }

    public String getQqIconUrl() {
        return qqIconUrl;
    }

    public void setQqIconUrl(String qqIconUrl) {
        this.qqIconUrl = qqIconUrl;
    }

    public String getQqOpenid() {
        return qqOpenid;
    }

    public void setQqOpenid(String qqOpenid) {
        this.qqOpenid = qqOpenid;
    }

    public String getQqNickname() {
        return qqNickname;
    }

    public void setQqNickname(String qqNickname) {
        this.qqNickname = qqNickname;
    }

    public String getWeiboIconSize() {
        return weiboIconSize;
    }

    public void setWeiboIconSize(String weiboIconSize) {
        this.weiboIconSize = weiboIconSize;
    }

    public String getWeiboIconUrl() {
        return weiboIconUrl;
    }

    public void setWeiboIconUrl(String weiboIconUrl) {
        this.weiboIconUrl = weiboIconUrl;
    }

    public String getWeiboOpenid() {
        return weiboOpenid;
    }

    public void setWeiboOpenid(String weiboOpenid) {
        this.weiboOpenid = weiboOpenid;
    }

    public String getWeiboNickname() {
        return weiboNickname;
    }

    public void setWeiboNickname(String weiboNickname) {
        this.weiboNickname = weiboNickname;
    }

    public String getWeixinAppIconSize() {
        return weixinAppIconSize;
    }

    public void setWeixinAppIconSize(String weixinAppIconSize) {
        this.weixinAppIconSize = weixinAppIconSize;
    }

    public String getWeixinAppIconUrl() {
        return weixinAppIconUrl;
    }

    public void setWeixinAppIconUrl(String weixinAppIconUrl) {
        this.weixinAppIconUrl = weixinAppIconUrl;
    }

    public String getWeixinAppOpenid() {
        return weixinAppOpenid;
    }

    public void setWeixinAppOpenid(String weixinAppOpenid) {
        this.weixinAppOpenid = weixinAppOpenid;
    }

    public String getWeixinUnionid() {
        return weixinUnionid;
    }

    public void setWeixinUnionid(String weixinUnionid) {
        this.weixinUnionid = weixinUnionid;
    }

    public String getWeixinNickname() {
        return weixinNickname;
    }

    public void setWeixinNickname(String weixinNickname) {
        this.weixinNickname = weixinNickname;
    }

    public String getDeviceToken() {
        return deviceToken;
    }

    public void setDeviceToken(String deviceToken) {
        this.deviceToken = deviceToken;
    }

    public String getGetuiId() {
        return getuiId;
    }

    public void setGetuiId(String getuiId) {
        this.getuiId = getuiId;
    }

    public String getUserSetting() {
        return userSetting;
    }

    public void setUserSetting(String userSetting) {
        this.userSetting = userSetting;
    }

    public String getDsn() {
        return dsn;
    }

    public void setDsn(String dsn) {
        this.dsn = dsn;
    }

    public String getLarkCode() {
        return larkCode;
    }

    public void setLarkCode(String larkCode) {
        this.larkCode = larkCode;
    }

    public String getAppChannel() {
        return appChannel;
    }

    public void setAppChannel(String appChannel) {
        this.appChannel = appChannel;
    }


    @Override
    public String toString() {
        return "TbUser{" +
                "id=" + id +
                ", nickName='" + nickName + '\'' +
                ", name='" + name + '\'' +
                ", mobile='" + mobile + '\'' +
                ", isVerifyMobile=" + isVerifyMobile +
                ", account='" + account + '\'' +
                ", isEnable=" + isEnable +
                ", password='" + password + '\'' +
                ", year=" + year +
                ", birthday=" + birthday +
                ", gender=" + gender +
                ", provinceId=" + provinceId +
                ", homeStationId=" + homeStationId +
                ", areaId=" + areaId +
                ", regChannel=" + regChannel +
                ", regTime=" + regTime +
                ", loginTime=" + loginTime +
                ", icon='" + icon + '\'' +
                ", isPhoto=" + isPhoto +
                ", photoNum=" + photoNum +
                ", sign='" + sign + '\'' +
                ", type=" + type +
                ", sourceChannel=" + sourceChannel +
                ", priority=" + priority +
                ", subcribe=" + subcribe +
                ", isMaster=" + isMaster +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", regType=" + regType +
                ", qqIconSize='" + qqIconSize + '\'' +
                ", qqIconUrl='" + qqIconUrl + '\'' +
                ", qqOpenid='" + qqOpenid + '\'' +
                ", qqNickname='" + qqNickname + '\'' +
                ", weiboIconSize='" + weiboIconSize + '\'' +
                ", weiboIconUrl='" + weiboIconUrl + '\'' +
                ", weiboOpenid='" + weiboOpenid + '\'' +
                ", weiboNickname='" + weiboNickname + '\'' +
                ", weixinAppIconSize='" + weixinAppIconSize + '\'' +
                ", weixinAppIconUrl='" + weixinAppIconUrl + '\'' +
                ", weixinAppOpenid='" + weixinAppOpenid + '\'' +
                ", weixinUnionid='" + weixinUnionid + '\'' +
                ", weixinNickname='" + weixinNickname + '\'' +
                ", deviceToken='" + deviceToken + '\'' +
                ", getuiId='" + getuiId + '\'' +
                ", userSetting='" + userSetting + '\'' +
                ", dsn='" + dsn + '\'' +
                ", larkCode='" + larkCode + '\'' +
                ", appChannel='" + appChannel + '\'' +
                '}';
    }
}